﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace 电脑信息采集台账导出_NET4._5_Win7特别版
{
    /// <summary>
    /// MyTextBlock.xaml 的交互逻辑
    /// </summary>
    public partial class MyTextBlock : UserControl
    {
        public MyTextBlock()
        {
            InitializeComponent();
        }



        public string TitleName
        {
            get { return (string)GetValue(TitleNameProperty); }
            set { SetValue(TitleNameProperty, value); }
        }

        // Using a DependencyProperty as the backing store for TitleName.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty TitleNameProperty =
            DependencyProperty.Register("TitleName", typeof(string), typeof(MyTextBlock), new PropertyMetadata(""));


        public string ContentName
        {
            get { return (string)GetValue(ContentNameProperty); }
            set { SetValue(ContentNameProperty, value); }
        }

        // Using a DependencyProperty as the backing store for ContentName.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty ContentNameProperty =
            DependencyProperty.Register("ContentName", typeof(string), typeof(MyTextBlock), new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault));


    }
}
